package cn.lxh.basic.constant;

/**
 * 常量类
 */
public class BaseConstant {


    /**
     * 短信常量池
     */
    public class RegisterConstants {
        //注册短信息验证码 key的前缀
        public static final String REGISTER_SMS_PREFIX = "register:";
        //登录短信息验证码 key的前缀
        public static final String LOGIN_SMS_PREFIX = "login:";

        /**
         * 微信常量池
         */
    }
        public  class WeChatConstants {
            //微信的两个标识
            public static final String APPID = "wxd853562a0548a7d0";
            public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";
            //注册短信息验证码 key的前缀
            public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
            public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";


        }



}


